home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / CD32 / CD32_Support / examples / cdgsxl / Include / cdxl / runcdxl_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-10-27  |  2.5 KB  |  74 lines

  1. /***************
  2.  
  3.  runcdxl_protos.h
  4.  
  5.  W.D.L 930330
  6.  
  7. ***************/
  8.  
  9. /*
  10.  * COPYRIGHT: Unless otherwise noted, all files are Copyright (c) 1993-1999
  11.  * Amiga, Inc.  All rights reserved.
  12.  *
  13.  * DISCLAIMER: This software is provided "as is".  No representations or
  14.  * warranties are made with respect to the accuracy, reliability, performance,
  15.  * currentness, or operation of this software, and all use is at your own risk.
  16.  * Neither Amiga nor the authors assume any responsibility or liability
  17.  * whatsoever with respect to your use of this software.
  18.  */
  19.  
  20. // Display.c
  21. ULONG GetModeID( DISP_DEF * disp_def );
  22. int ScrWinOpen( DISP_DEF * disp_def, UBYTE * ilbmfile );
  23. struct ViewExtra * GetVX( ULONG ModeID );
  24. int ViewOpen( DISP_DEF * disp_def, UBYTE * ilbmfile );
  25. int OpenDisplay( DISP_DEF * disp_def, UBYTE * ilbmfile );
  26. int CloseDisplay( DISP_DEF * disp_def );
  27. VOID Display2Front( DISP_DEF * disp_def );
  28.  
  29. // RunCDXL.c
  30. BOOL GetCDInfo( struct CDInfo * cdi );
  31. BOOL CDConfig( ULONG tag, ... );
  32. VOID Pan2Display( PAN * pan, DISP_DEF * disp_def, ULONG flags, struct TagItem * inti );
  33. VOID CDXLFreeOb( CDXLOB * cdxl_OB );
  34. int CDXLObtain( UBYTE * CDXLFile, DISP_DEF * disp_def, CDXLOB **CDXLob, ULONG flags, struct TagItem * inti );
  35. VOID CDDeviceTerm( CDXLOB * CDXL_ob );
  36. BOOL CDDeviceInit( ULONG * opened, CDXLOB * CDXL_ob );
  37. VOID FreeXList( struct MinList * xllist, CDXLOB * CDXL_ob );
  38. VOID CDXLTerm( CDXLOB * CDXL_ob );
  39. __interrupt __asm __saveds CDXLCallBack( register __a1 APTR intdata, register __a2 struct CDXL * xl );
  40. BOOL SendIOR( struct IOStdReq * req, LONG cmd, ULONG off, ULONG len, APTR data);
  41. int NewCDTV_XL( struct MinList * first, UBYTE * buf, ULONG len, PF code );
  42. int    NewCD_XL( struct MinList * first, UBYTE * buf, ULONG len, PF code );
  43. int PlayCDXL( DISP_DEF * disp_def, CDXLOB * CDXL_ob );
  44. int StartCDXL( DISP_DEF * disp_def, CDXLOB * CDXL_ob );
  45.  
  46. // CDXLAudio.c
  47. VOID StopAudio( VOID );
  48. VOID StartAudio( VOID );
  49. VOID __interrupt __saveds AudioIntrCode( VOID );
  50. VOID QuitAudio( void );
  51. InitAudio( CDXLOB * CDXL_ob );
  52.  
  53. // ILBMSupport.c
  54. int DoQuery( UBYTE * filename, DISP_DEF * disp_def );
  55. int DoILBM( UBYTE * filename, DISP_DEF * disp_def );
  56.  
  57.  
  58. //AsyncXLFile.c
  59. VOID WaitPacket(ASYNCXLFILE * xlfile);
  60. VOID SendAsync(ASYNCXLFILE * xlfile, APTR arg2);
  61. LONG CloseAsyncXL( ASYNCXLFILE * xlfile, CDXLOB * CDXL_ob );
  62. ASYNCXLFILE * OpenAsyncXL(const STRPTR fileName, CDXLOB * CDXL_ob, LONG position);
  63.  
  64. //Buttons.a
  65.  
  66. BOOL LMBDown( VOID );
  67. BOOL RMBDown( VOID );
  68. BOOL FireDown( VOID );
  69.  
  70.  
  71.  
  72. //
  73. int kprintf(const char *, ...);
  74.